package cn.hansfly.shell;

public class mainC {
    public static void main(String[] args) {
//        jShell shell=new jShell("ls -l");
//        shell.startErr();
//        shell.startIn();
//        shell.startOut();
    	String s = "/home/hansfly/a.txt";
    	s = s.substring(s.lastIndexOf("/"));
    	System.out.println(s);
    }
}